home *** CD-ROM | disk | FTP | other *** search
/ Chip: Special Tips & Tricks for Windows 95 / Chip Wintips.iso / sterown / grafika / vs95120i / stbpg64.mo_ / stbpg64.mo
INI File  |  1996-09-11  |  21KB  |  825 lines

  1. [STBModes]
  2. Version=1.20
  3. Product=POWERGRAPH64, POWERGRAPH64_SFF
  4. Bus=PCI, VL
  5. Controller=S3_86C764P
  6. Modes=69
  7.  
  8. [Modes]
  9. ;         HRes, VRes, Bpp, HScan, VScan, Mem, Pitch, Flags, Cntr1, Cntr2, Work
  10. Mode.1  =  640,  480,   4,  31.5,  60.0,  1M,   320,     0, 0303h, 0A0Ah, 640_4_60
  11. Mode.2  =  640,  480,   4,  37.9,  72.0,  1M,   320,     0, 0504h, 0A09h, 640_4_72
  12. Mode.3  =  640,  480,   4,  37.5,  75.0,  1M,   320,     0, 0703h, 0501h, 640_4_75
  13. Mode.4  =  640,  480,   4,  42.5,  85.0,  1M,   320,     0, 0703h, 0301h, 640_4_85
  14. Mode.5  =  640,  480,   4,  50.0, 100.0,  1M,   320,     0, 0703h, 0101h, 640_4_100
  15. Mode.6  =  640,  480,   8,  31.5,  60.0,  1M,   640,     0, 0203h, 0A0Ah, 640_8_60
  16. Mode.7  =  640,  480,   8,  37.9,  72.0,  1M,   640,     0, 0703h, 0501h, 640_8_72
  17. Mode.8  =  640,  480,   8,  42.5,  85.0,  1M,   640,     0, 0703h, 0301h, 640_8_75
  18. Mode.9  =  640,  480,   8,  42.5,  85.0,  1M,   640,     0, 0A0Ah, 0A0Ah, 640_8_85
  19. Mode.10 =  640,  480,   8,  50.0, 100.0,  1M,   640,     0, 0703h, 0101h, 640_8_100
  20. Mode.11 =  640,  480,  16,  31.5,  60.0,  1M,  1280,     0, 0606h, 0A09h, 640_16_60
  21. Mode.12 =  640,  480,  16,  37.9,  72.0,  1M,  1280,     0, 0A08h, 0A08h, 640_16_72
  22. Mode.13 =  640,  480,  16,  37.5,  75.0,  1M,  1280,     0, 0A06h, 0500h, 640_16_75
  23. Mode.14 =  640,  480,  16,  42.5,  85.0,  2M,  1280,     0, 0A06h, 0300h, 640_16_85_2
  24. Mode.15 =  640,  480,  16,  42.5,  85.0,  1M,  1280,     0, 0A06h, 0300h, 640_16_85_1
  25. Mode.16 =  640,  480,  16,  50.0, 100.0,  2M,  1280,     0, 0A06h, 0100h, 640_16_100_2
  26. Mode.17 =  640,  480,  16,  50.0, 100.0,  1M,  1280,     0, 0A06h, 0100h, 640_16_100_1
  27. Mode.18 =  640,  480,  32,  31.5,  60.0,  2M,  2560,     0, 020Ah, 0A09h, 640_32_60
  28. Mode.19 =  640,  480,  32,  37.9,  72.0,  2M,  2560,     0, 0604h, 0A08h, 640_32_72
  29. Mode.20 =  640,  480,  32,  37.5,  75.0,  2M,  2560,     0, 0803h, 0400h, 640_32_75
  30. Mode.21 =  640,  480,  32,  42.5,  85.0,  1M,  2560,     0, 0803h, 0300h, 640_32_85
  31. Mode.22 =  640,  480,  32,  50.0, 100.0,  1M,  2560,     0, 0803h, 0100h, 640_32_100
  32. Mode.23 =  800,  600,   4,  35.2,  56.0,  1M,  1024,     0, 0805h, 0901h, 800_4_56
  33. Mode.24 =  800,  600,   4,  37.9,  60.0,  1M,  1024,     0, 0507h, 0A01h, 800_4_60
  34. Mode.25 =  800,  600,   4,  48.0,  72.0,  1M,  1024,     0, 0205h, 0905h, 800_4_72
  35. Mode.26 =  800,  600,   4,  46.9,  75.0,  1M,  1024,     0, 0A04h, 0601h, 800_4_75
  36. Mode.27 =  800,  600,   8,  35.2,  56.0,  1M,   800,     0, 0A04h, 0901h, 800_8_56
  37. Mode.28 =  800,  600,   8,  37.9,  60.0,  1M,   800,     0, 0606h, 0A01h, 800_8_60
  38. Mode.29 =  800,  600,   8,  48.0,  72.0,  1M,   800,     0, 0208h, 090Ah, 800_8_72
  39. Mode.30 =  800,  600,   8,  46.9,  75.0,  1M,   800,     0, 0A03h, 0601h, 800_8_75
  40. Mode.31 =  800,  600,   8,  53.1,  85.0,  1M,   800,     0, 0A03h, 0401h, 800_8_85
  41. Mode.32 =  800,  600,   8,  62.5, 100.0,  2M,   800,     0, 0A03h, 0101h, 800_8_100_2
  42. Mode.33 =  800,  600,   8,  62.5, 100.0,  1M,   800,     0, 0A03h, 0101h, 800_8_100_1
  43. Mode.34 =  800,  600,  16,  37.9,  60.0,  1M,  1600,     0, 0A0Ah, 0A01h, 800_16_60
  44. Mode.35 =  800,  600,  16,  48.0,  72.0,  1M,  1600,     0, 040Ah, 090Ah, 800_16_72
  45. Mode.36 =  800,  600,  16,  46.9,  75.0,  1M,  1600,     0, 0A06h, 0601h, 800_16_75
  46. Mode.37 =  800,  600,  16,  53.1,  85.0,  2M,  1600,     0, 0A06h, 0401h, 800_16_85_2
  47. Mode.38 =  800,  600,  16,  53.1,  85.0,  1M,  1600,     0, 0A06h, 0401h, 800_16_85_1
  48. Mode.39 =  800,  600,  16,  62.5, 100.0,  2M,  1600,     0, 0A06h, 0201h, 800_16_100_2
  49. Mode.40 =  800,  600,  16,  62.5, 100.0,  1M,  1600,     0, 0A06h, 0201h, 800_16_100_1
  50. Mode.41 =  800,  600,  32,  37.9,  60.0,  2M,  3200,     0, 0606h, 0A00h, 800_32_60
  51. Mode.42 =  800,  600,  32,  48.0,  72.0,  2M,  3200,     0, 0208h, 090Ah, 800_32_72
  52. Mode.43 =  800,  600,  32,  46.9,  75.0,  2M,  3200,     0, 0A03h, 0600h, 800_32_75
  53. Mode.44 = 1024,  768,   4,  35.5,  88.0,  1M,  1024,     2, 0202h, 0901h, 1024_4_88i
  54. Mode.45 = 1024,  768,   4,  48.4,  60.0,  1M,  1024,     0, 0A04h, 0A03h, 1024_4_60
  55. Mode.46 = 1024,  768,   4,  56.5,  70.0,  1M,  1024,     0, 0804h, 0A03h, 1024_4_70
  56. Mode.47 = 1024,  768,   4,  60.0,  75.0,  1M,  1024,     0, 0A03h, 0801h, 1024_4_75
  57. Mode.48 = 1024,  768,   8,  35.5,  88.0,  1M,  1024,     2, 0202h, 0901h, 1024_8_88i
  58. Mode.49 = 1024,  768,   8,  48.4,  60.0,  1M,  1024,     0, 0A04h, 0A03h, 1024_8_60
  59. Mode.50 = 1024,  768,   8,  56.5,  70.0,  1M,  1024,     0, 0804h, 0A03h, 1024_8_70
  60. Mode.51 = 1024,  768,   8,  60.0,  75.0,  1M,  1024,     0, 0A03h, 0801h, 1024_8_75
  61. Mode.52 = 1024,  768,   8,  68.0,  85.0,  2M,  1024,     0, 0A03h, 0601h, 1024_8_85_2
  62. Mode.53 = 1024,  768,   8,  68.0,  85.0,  1M,  1024,     0, 0A03h, 0601h, 1024_8_85_1
  63. Mode.54 = 1024,  768,   8,  80.0, 100.0,  2M,  1024,     0, 0A03h, 0201h, 1024_8_100_2
  64. Mode.55 = 1024,  768,   8,  80.0, 100.0,  1M,  1024,     0, 0A03h, 0201h, 1024_8_100_1
  65. Mode.56 = 1024,  768,  16,  35.5,  88.0,  2M,  2048,     2, 0603h, 0901h, 1024_16_88i
  66. Mode.57 = 1024,  768,  16,  48.4,  60.0,  2M,  2048,     0, 0A08h, 0A03h, 1024_16_60
  67. Mode.58 = 1024,  768,  16,  56.5,  70.0,  2M,  2048,     0, 0A08h, 0A03h, 1024_16_70
  68. Mode.59 = 1024,  768,  16,  60.0,  75.0,  2M,  2048,     0, 0A06h, 0801h, 1024_16_75
  69. Mode.60 = 1152,  864,   8,  55.0,  60.0,  1M,  1152,     0, 0A03h, 0A0Ah, 1152_8_60
  70. Mode.61 = 1280, 1024,   4,  48.0,  88.0,  1M,  1024,     2, 0604h, 0602h, 1280_4_88i
  71. Mode.62 = 1280, 1024,   4,  64.0,  60.0,  1M,  1024,     0, 0A05h, 0404h, 1280_4_60
  72. Mode.63 = 1280, 1024,   4,  77.0,  72.0,  1M,  1024,     0, 0A05h, 0A06h, 1280_4_72
  73. Mode.64 = 1280, 1024,   4,  80.0,  75.0,  1M,  1024,     0, 0A04h, 090Ah, 1280_4_75
  74. Mode.65 = 1280, 1024,   8,  48.0,  88.0,  2M,  1280,     2, 0504h, 0502h, 1280_8_88i
  75. Mode.66 = 1280, 1024,   8,  64.0,  60.0,  2M,  1280,     0, 0A05h, 0404h, 1280_8_60
  76. Mode.67 = 1280, 1024,   8,  77.0,  72.0,  2M,  1280,     0, 0A05h, 0A06h, 1280_8_72
  77. Mode.68 = 1280, 1024,   8,  80.0,  75.0,  2M,  1280,     0, 0A04h, 090Ah, 1280_8_75
  78. Mode.69 = 1600, 1200,   8,  64.0, 100.0,  2M,  1600,     2, 050Ah, 0601h, 1600_8_100i
  79.  
  80. [640_4_60]
  81. Exec.1=Call,SaveMonType
  82. Exec.2=Call,SetMon640_60
  83. Exec.3=Call,SetMode_101h
  84. Exec.4=Call,RestoreMonType
  85. Exec.5=Call,Set4Bpp
  86. Exec.6=Call,PerformFixups4
  87.  
  88. [640_4_72]
  89. Exec.1=Call,SaveMonType
  90. Exec.2=Call,SetMon640_72
  91. Exec.3=Call,SetMode_101h
  92. Exec.4=Call,RestoreMonType
  93. Exec.5=Call,Set4Bpp
  94. Exec.6=Call,PerformFixups4
  95.  
  96. [640_4_75]
  97. Exec.1=Call,SaveMonType
  98. Exec.2=Call,SetMon640_75
  99. Exec.3=Call,SetMode_101h
  100. Exec.4=Call,RestoreMonType
  101. Exec.5=Call,Set4Bpp
  102. Exec.6=Call,PerformFixups4
  103.  
  104. [640_4_85]
  105. Exec.1=Call,SaveMonType
  106. Exec.2=Call,SetMon640_85
  107. Exec.3=Call,SetMode_101h
  108. Exec.4=Call,RestoreMonType
  109. Exec.5=Call,Set4Bpp
  110. Exec.6=Call,PerformFixups4
  111.  
  112. [640_4_100]
  113. Exec.1=Call,SaveMonType
  114. Exec.2=Call,SetMon640_100
  115. Exec.3=Call,SetMode_101h
  116. Exec.4=Call,RestoreMonType
  117. Exec.5=Call,Set4Bpp
  118. Exec.6=Call,PerformFixups4
  119.  
  120.  
  121. [640_8_60]
  122. Exec.1=Call,SaveMonType
  123. Exec.2=Call,SetMon640_60
  124. Exec.3=Call,SetMode_101h
  125. Exec.4=Call,RestoreMonType
  126. Exec.5=Call,PerformFixups
  127.  
  128. [640_8_72]
  129. Exec.1=Call,SaveMonType
  130. Exec.2=Call,SetMon640_72
  131. Exec.3=Call,SetMode_101h
  132. Exec.4=Call,RestoreMonType
  133. Exec.5=Call,PerformFixups
  134.  
  135. [640_8_75]
  136. Exec.1=Call,SaveMonType
  137. Exec.2=Call,SetMon640_75
  138. Exec.3=Call,SetMode_101h
  139. Exec.4=Call,RestoreMonType
  140. Exec.5=Call,PerformFixups
  141.  
  142. [640_8_85]
  143. Exec.1=Call,SaveMonType
  144. Exec.2=Call,SetMon640_85
  145. Exec.3=Call,SetMode_101h
  146. Exec.4=Call,RestoreMonType
  147. Exec.5=Call,PerformFixups
  148.  
  149. [640_8_100]
  150. Exec.1=Call,SaveMonType
  151. Exec.2=Call,SetMon640_100
  152. Exec.3=Call,SetMode_101h
  153. Exec.4=Call,RestoreMonType
  154. Exec.5=Call,PerformFixups
  155.  
  156. [640_16_60]
  157. Exec.1=Call,SaveMonType
  158. Exec.2=Call,SetMon640_60
  159. Exec.3=Call,SetMode_111h
  160. Exec.4=Call,RestoreMonType
  161. Exec.5=Call,PerformFixups
  162.  
  163. [640_16_72]
  164. Exec.1=Call,SaveMonType
  165. Exec.2=Call,SetMon640_72
  166. Exec.3=Call,SetMode_111h
  167. Exec.4=Call,RestoreMonType
  168. Exec.5=Call,PerformFixups
  169.  
  170. [640_16_75]
  171. Exec.1=Call,SaveMonType
  172. Exec.2=Call,SetMon640_75
  173. Exec.3=Call,SetMode_111h
  174. Exec.4=Call,RestoreMonType
  175. Exec.5=Call,PerformFixups
  176.  
  177. [640_16_85]
  178. Exec.1=Call,SaveMonType
  179. Exec.2=Call,SetMon640_85
  180. Exec.3=Call,SetMode_111h
  181. Exec.4=Call,RestoreMonType
  182. Exec.5=Call,PerformFixups
  183.  
  184. [640_16_85_1]
  185. Exec.1=Call,640_16_85
  186. Exec.2=RMW8I,3D4h,54h,28h,F8h
  187.  
  188. [640_16_85_2]
  189. Exec.1=Call,640_16_85
  190. Exec.2=RMW8I,3D4h,54h,B8h,F8h
  191.  
  192. [640_16_100]
  193. Exec.1=Call,SaveMonType
  194. Exec.2=Call,SetMon640_100
  195. Exec.3=Call,SetMode_111h
  196. Exec.4=Call,RestoreMonType
  197. Exec.5=Call,PerformFixups
  198.  
  199. [640_16_100_1]
  200. Exec.1=Call,640_16_100
  201. Exec.2=RMW8I,3D4h,54h,28h,F8h
  202.  
  203. [640_16_100_2]
  204. Exec.1=Call,640_16_100
  205. Exec.2=RMW8I,3D4h,54h,78h,F8h
  206.  
  207. [640_32_60]
  208. Exec.1=Call,SaveMonType
  209. Exec.2=Call,SetMon640_60
  210. Exec.3=Call,SetMode_112h
  211. Exec.4=Call,RestoreMonType
  212. Exec.5=Call,PerformFixups
  213.  
  214. [640_32_72]
  215. Exec.1=Call,SaveMonType
  216. Exec.2=Call,SetMon640_72
  217. Exec.3=Call,SetMode_112h
  218. Exec.4=Call,RestoreMonType
  219. Exec.5=Call,PerformFixups
  220.  
  221. [640_32_75]
  222. Exec.1=Call,SaveMonType
  223. Exec.2=Call,SetMon640_75
  224. Exec.3=Call,SetMode_112h
  225. Exec.4=Call,RestoreMonType
  226. Exec.5=Call,PerformFixups
  227.  
  228. [640_32_85]
  229. Exec.1=Call,SaveMonType
  230. Exec.2=Call,SetMon640_85
  231. Exec.3=Call,SetMode_112h
  232. Exec.4=Call,RestoreMonType
  233. Exec.5=Call,PerformFixups
  234.  
  235. [640_32_100]
  236. Exec.1=Call,SaveMonType
  237. Exec.2=Call,SetMon640_100
  238. Exec.3=Call,SetMode_112h
  239. Exec.4=Call,RestoreMonType
  240. Exec.5=Call,PerformFixups
  241.  
  242. [800_4_56]
  243. Exec.1=Call,SaveMonType
  244. Exec.2=Call,SetMon800_56
  245. Exec.3=Call,SetMode_202h
  246. Exec.4=Call,RestoreMonType
  247.  
  248. [800_4_60]
  249. Exec.1=Call,SaveMonType
  250. Exec.2=Call,SetMon800_60
  251. Exec.3=Call,SetMode_202h
  252. Exec.4=Call,RestoreMonType
  253.  
  254. [800_4_72]
  255. Exec.1=Call,SaveMonType
  256. Exec.2=Call,SetMon800_72
  257. Exec.3=Call,SetMode_202h
  258. Exec.4=Call,RestoreMonType
  259.  
  260. [800_4_75]
  261. Exec.1=Call,SaveMonType
  262. Exec.2=Call,SetMon800_75
  263. Exec.3=Call,SetMode_202h
  264. Exec.4=Call,RestoreMonType
  265.  
  266. [800_8_56]
  267. Exec.1=Call,SaveMonType
  268. Exec.2=Call,SetMon800_56
  269. Exec.3=Call,SetMode_103h
  270. Exec.4=Call,RestoreMonType
  271. Exec.5=Call,PerformFixups
  272.  
  273. [800_8_60]
  274. Exec.1=Call,SaveMonType
  275. Exec.2=Call,SetMon800_60
  276. Exec.3=Call,SetMode_103h
  277. Exec.4=Call,RestoreMonType
  278. Exec.5=Call,PerformFixups
  279.  
  280. [800_8_72]
  281. Exec.1=Call,SaveMonType
  282. Exec.2=Call,SetMon800_72
  283. Exec.3=Call,SetMode_103h
  284. Exec.4=Call,RestoreMonType
  285. Exec.5=Call,PerformFixups
  286.  
  287. [800_8_75]
  288. Exec.1=Call,SaveMonType
  289. Exec.2=Call,SetMon800_75
  290. Exec.3=Call,SetMode_103h
  291. Exec.4=Call,RestoreMonType
  292. Exec.5=Call,PerformFixups
  293.  
  294. [800_8_85]
  295. Exec.1=Call,SaveMonType
  296. Exec.2=Call,SetMon800_85
  297. Exec.3=Call,SetMode_103h
  298. Exec.4=Call,RestoreMonType
  299. Exec.5=Call,PerformFixups
  300.  
  301. [800_8_100]
  302. Exec.1=Call,SaveMonType
  303. Exec.2=Call,SetMon800_100
  304. Exec.3=Call,SetMode_103h
  305. Exec.4=Call,RestoreMonType
  306. Exec.5=Call,PerformFixups
  307.  
  308. [800_8_100_1]
  309. Exec.1=Call,800_8_100
  310. Exec.2=RMW8I,3D4h,54h,40h,F8h
  311.  
  312. [800_8_100_2]
  313. Exec.1=Call,800_8_100
  314. Exec.2=RMW8I,3D4h,54h,C0h,F8h
  315.  
  316. [800_16_60]
  317. Exec.1=Call,SaveMonType
  318. Exec.2=Call,SetMon800_60
  319. Exec.3=Call,SetMode_114h
  320. Exec.4=Call,RestoreMonType
  321. Exec.5=Call,PerformFixups
  322.  
  323. [800_16_72]
  324. Exec.1=Call,SaveMonType
  325. Exec.2=Call,SetMon800_72
  326. Exec.3=Call,SetMode_114h
  327. Exec.4=Call,RestoreMonType
  328. Exec.5=Call,PerformFixups
  329.  
  330. [800_16_75]
  331. Exec.1=Call,SaveMonType
  332. Exec.2=Call,SetMon800_75
  333. Exec.3=Call,SetMode_114h
  334. Exec.4=Call,RestoreMonType
  335. Exec.5=Call,PerformFixups
  336.  
  337. [800_16_85]
  338. Exec.1=Call,SaveMonType
  339. Exec.2=Call,SetMon800_85
  340. Exec.3=Call,SetMode_114h
  341. Exec.4=Call,RestoreMonType
  342. Exec.5=Call,PerformFixups
  343.  
  344. [800_16_85_1]
  345. Exec.1=Call,800_16_85
  346. Exec.2=RMW8I,3D4h,54h,00h,F8h
  347.  
  348. [800_16_85_2]
  349. Exec.1=Call,800_16_85
  350. Exec.2=RMW8I,3D4h,54h,50h,F8h
  351.  
  352. [800_16_100]
  353. Exec.1=Call,SaveMonType
  354. Exec.2=Call,SetMon800_100
  355. Exec.3=Call,SetMode_114h
  356. Exec.4=Call,RestoreMonType
  357. Exec.5=Call,PerformFixups
  358.  
  359. [800_16_100_1]
  360. Exec.1=Call,800_16_100
  361. Exec.2=RMW8I,3D4h,54h,00h,F8h
  362.  
  363. [800_16_100_2]
  364. Exec.1=Call,800_16_100
  365. Exec.2=RMW8I,3D4h,54h,50h,F8h
  366.  
  367. [800_32_60]
  368. Exec.1=Call,SaveMonType
  369. Exec.2=Call,SetMon800_60
  370. Exec.3=Call,SetMode_115h
  371. Exec.4=Call,RestoreMonType
  372. Exec.5=Call,PerformFixups
  373.  
  374. [800_32_72]
  375. Exec.1=Call,SaveMonType
  376. Exec.2=Call,SetMon800_72
  377. Exec.3=Call,SetMode_115h
  378. Exec.4=Call,RestoreMonType
  379. Exec.5=Call,PerformFixups
  380.  
  381. [800_32_75]
  382. Exec.1=Call,SaveMonType
  383. Exec.2=Call,SetMon800_75
  384. Exec.3=Call,SetMode_115h
  385. Exec.4=Call,RestoreMonType
  386. Exec.5=Call,PerformFixups
  387.  
  388. [1024_4_88i]
  389. Exec.1=Call,SaveMonType
  390. Exec.2=Call,SetMon1024_88i
  391. Exec.3=Call,SetMode_204h
  392. Exec.4=Call,RestoreMonType
  393.  
  394. [1024_4_60]
  395. Exec.1=Call,SaveMonType
  396. Exec.2=Call,SetMon1024_60
  397. Exec.3=Call,SetMode_204h
  398. Exec.4=Call,RestoreMonType
  399.  
  400. [1024_4_70]
  401. Exec.1=Call,SaveMonType
  402. Exec.2=Call,SetMon1024_70
  403. Exec.3=Call,SetMode_204h
  404. Exec.4=Call,RestoreMonType
  405.  
  406. [1024_4_75]
  407. Exec.1=Call,SaveMonType
  408. Exec.2=Call,SetMon1024_75
  409. Exec.3=Call,SetMode_204h
  410. Exec.4=Call,RestoreMonType
  411.  
  412. [1024_8_88i]
  413. Exec.1=Call,SaveMonType
  414. Exec.2=Call,SetMon1024_88i
  415. Exec.3=Call,SetMode_205h
  416. Exec.4=Call,RestoreMonType
  417. Exec.5=Call,PerformFixups
  418.  
  419. [1024_8_60]
  420. Exec.1=Call,SaveMonType
  421. Exec.2=Call,SetMon1024_60
  422. Exec.3=Call,SetMode_205h
  423. Exec.4=Call,RestoreMonType
  424. Exec.5=Call,PerformFixups
  425.  
  426. [1024_8_70]
  427. Exec.1=Call,SaveMonType
  428. Exec.2=Call,SetMon1024_70
  429. Exec.3=Call,SetMode_205h
  430. Exec.4=Call,RestoreMonType
  431. Exec.5=Call,PerformFixups
  432.  
  433. [1024_8_75]
  434. Exec.1=Call,SaveMonType
  435. Exec.2=Call,SetMon1024_75
  436. Exec.3=Call,SetMode_205h
  437. Exec.4=Call,RestoreMonType
  438. Exec.5=Call,PerformFixups
  439.  
  440. [1024_8_85]
  441. Exec.1=Call,SaveMonType
  442. Exec.2=Call,SetMon1024_85
  443. Exec.3=Call,SetMode_205h
  444. Exec.4=Call,RestoreMonType
  445. Exec.5=Call,PerformFixups
  446.  
  447. [1024_8_85_1]
  448. Exec.1=Call,1024_8_85
  449. Exec.2=RMW8I,3D4h,54h,20h,F8h
  450.  
  451. [1024_8_85_2]
  452. Exec.1=Call,1024_8_85
  453. Exec.2=RMW8I,3D4h,54h,90h,F8h
  454.  
  455. [1024_8_100]
  456. Exec.1=Call,SaveMonType
  457. Exec.2=Call,SetMon1024_100
  458. Exec.3=Call,SetMode_205h
  459. Exec.4=Call,RestoreMonType
  460. Exec.5=Call,PerformFixups
  461.  
  462. [1024_8_100_1]
  463. Exec.1=Call,1024_8_100
  464. Exec.2=RMW8I,3D4h,54h,20h,F8h
  465.  
  466. [1024_8_100_2]
  467. Exec.1=Call,1024_8_100
  468. Exec.2=RMW8I,3D4h,54h,70h,F8h
  469.  
  470. [1024_16_88i]
  471. Exec.1=Call,SaveMonType
  472. Exec.2=Call,SetMon1024_88i
  473. Exec.3=Call,SetMode_117h
  474. Exec.4=Call,RestoreMonType
  475. Exec.5=Call,PerformFixups
  476.  
  477. [1024_16_60]
  478. Exec.1=Call,SaveMonType
  479. Exec.2=Call,SetMon1024_60
  480. Exec.3=Call,SetMode_117h
  481. Exec.4=Call,RestoreMonType
  482. Exec.5=Call,PerformFixups
  483.  
  484. [1024_16_70]
  485. Exec.1=Call,SaveMonType
  486. Exec.2=Call,SetMon1024_70
  487. Exec.3=Call,SetMode_117h
  488. Exec.4=Call,RestoreMonType
  489. Exec.5=Call,PerformFixups
  490.  
  491. [1024_16_75]
  492. Exec.1=Call,SaveMonType
  493. Exec.2=Call,SetMon1024_75
  494. Exec.3=Call,SetMode_117h
  495. Exec.4=Call,RestoreMonType
  496. Exec.5=Call,PerformFixups
  497.  
  498. [1152_8_60]
  499. Exec.1=Call,SaveMonType
  500. Exec.2=Call,SetMode_12Dh
  501. Exec.3=Call,RestoreMonType
  502. Exec.4=Call,PerformFixups
  503.  
  504. [1280_4_88i]
  505. Exec.1=Call,SaveMonType
  506. Exec.2=Call,SetMon1280_88i
  507. Exec.3=Call,SetMode_107h
  508. Exec.4=Call,Set4Bpp
  509. Exec.5=Call,RestoreMonType
  510. Exec.6=Call,PerformFixups4
  511.  
  512. [1280_4_60]
  513. Exec.1=Call,SaveMonType
  514. Exec.2=Call,SetMon1280_60
  515. Exec.3=Call,SetMode_107h
  516. Exec.4=Call,Set4Bpp
  517. Exec.5=Call,RestoreMonType
  518. Exec.6=Call,PerformFixups4
  519.  
  520. [1280_4_72]
  521. Exec.1=Call,SaveMonType
  522. Exec.2=Call,SetMon1280_72
  523. Exec.3=Call,SetMode_107h
  524. Exec.4=Call,Set4Bpp
  525. Exec.5=Call,RestoreMonType
  526. Exec.6=Call,PerformFixups4
  527.  
  528. [1280_4_75]
  529. Exec.1=Call,SaveMonType
  530. Exec.2=Call,SetMon1280_75
  531. Exec.3=Call,SetMode_107h
  532. Exec.4=Call,Set4Bpp
  533. Exec.5=Call,RestoreMonType
  534. Exec.6=Call,PerformFixups4
  535.  
  536. [1280_8_88i]
  537. Exec.1=Call,SaveMonType
  538. Exec.2=Call,SetMon1280_88i
  539. Exec.3=Call,SetMode_107h
  540. Exec.4=Call,RestoreMonType
  541. Exec.5=Call,PerformFixups
  542.  
  543. [1280_8_60]
  544. Exec.1=Call,SaveMonType
  545. Exec.2=Call,SetMon1280_60
  546. Exec.3=Call,SetMode_107h
  547. Exec.4=Call,RestoreMonType
  548. Exec.5=Call,PerformFixups
  549.  
  550. [1280_8_72]
  551. Exec.1=Call,SaveMonType
  552. Exec.2=Call,SetMon1280_72
  553. Exec.3=Call,SetMode_107h
  554. Exec.4=Call,RestoreMonType
  555. Exec.5=Call,PerformFixups
  556.  
  557. [1280_8_75]
  558. Exec.1=Call,SaveMonType
  559. Exec.2=Call,SetMon1280_75
  560. Exec.3=Call,SetMode_107h
  561. Exec.4=Call,RestoreMonType
  562. Exec.5=Call,PerformFixups
  563.  
  564. [1600_8_100i]
  565. Exec.1=Call,SaveMonType
  566. Exec.2=Call,SetMon1600_100i
  567. Exec.3=Call,SetMode_120h
  568. Exec.4=Call,RestoreMonType
  569. Exec.5=Call,PerformFixups
  570.  
  571. [SaveMonType]
  572. Exec.1=Call,UnlockS3
  573. Exec.2=Code,BAh,D4h,03h,B0h,52h,EEh,42h,ECh,8Ah,D8h,BAh,D4h,03h,B0h,41h,EEh
  574. Exec.3=Code,42h,ECh,8Ah,F8h,53h
  575.  
  576. [RestoreMonType]
  577. Exec.1=Call,UnlockS3
  578. Exec.2=Code,5Bh,BAh,D4h,03h,B0h,52h,EEh,42h,8Ah,C3h,EEh,BAh,D4h,03h,B0h,41h
  579. Exec.3=Code,EEh,42h,8Ah,C7h,EEh
  580.  
  581. [SetMon640_60]
  582. Exec.1=RMW8I,3D4h,52h,00h,70h
  583.  
  584. [SetMon640_72]
  585. Exec.1=RMW8I,3D4h,52h,10h,70h
  586.  
  587. [SetMon640_75]
  588. Exec.1=RMW8I,3D4h,52h,20h,70h
  589.  
  590. [SetMon640_85]
  591. Exec.1=RMW8I,3D4h,52h,30h,70h
  592.  
  593. [SetMon640_100]
  594. Exec.1=RMW8I,3D4h,52h,40h,70h
  595.  
  596. [SetMon800_56]
  597. Exec.1=RMW8I,3D4h,41h,00h,03h
  598. Exec.2=RMW8I,3D4h,52h,00h,80h
  599.  
  600. [SetMon800_60]
  601. Exec.1=RMW8I,3D4h,41h,00h,03h
  602. Exec.2=RMW8I,3D4h,52h,80h,80h
  603.  
  604. [SetMon800_72]
  605. Exec.1=RMW8I,3D4h,41h,01h,03h
  606. Exec.2=RMW8I,3D4h,52h,00h,80h
  607.  
  608. [SetMon800_75]
  609. Exec.1=RMW8I,3D4h,41h,01h,03h
  610. Exec.2=RMW8I,3D4h,52h,80h,80h
  611.  
  612. [SetMon800_85]
  613. Exec.1=RMW8I,3D4h,41h,02h,03h
  614. Exec.2=RMW8I,3D4h,52h,00h,80h
  615.  
  616. [SetMon800_100]
  617. Exec.1=RMW8I,3D4h,41h,02h,03h
  618. Exec.2=RMW8I,3D4h,52h,80h,80h
  619.  
  620. [SetMon1024_88i]
  621. Exec.1=RMW8I,3D4h,41h,00h,1Ch
  622.  
  623. [SetMon1024_60]
  624. Exec.1=RMW8I,3D4h,41h,08h,1Ch
  625.  
  626. [SetMon1024_70]
  627. Exec.1=RMW8I,3D4h,41h,0Ch,1Ch
  628.  
  629. [SetMon1024_75]
  630. Exec.1=RMW8I,3D4h,41h,10h,1Ch
  631.  
  632. [SetMon1024_85]
  633. Exec.1=RMW8I,3D4h,41h,14h,1Ch
  634.  
  635. [SetMon1024_100]
  636. Exec.1=RMW8I,3D4h,41h,18h,1Ch
  637.  
  638. [SetMon1280_88i]
  639. Exec.1=RMW8I,3D4h,41h,00h,E0h
  640.  
  641. [SetMon1280_60]
  642. Exec.1=RMW8I,3D4h,41h,80h,E0h
  643.  
  644. [SetMon1280_72]
  645. Exec.1=RMW8I,3D4h,41h,A0h,E0h
  646.  
  647. [SetMon1280_75]
  648. Exec.1=RMW8I,3D4h,41h,C0h,E0h
  649.  
  650. [SetMon1600_100i]
  651. Exec.1=RMW8I,3D4h,52h,00h,0Eh
  652.  
  653. [SetMode_101h]
  654. ; 640_8
  655. Exec.1=Int,10h,4F02h,8101h
  656.  
  657. [SetMode_103h]
  658. ; 800_8
  659. Exec.1=Int,10h,4F02h,8103h
  660.  
  661. [SetMode_107h]
  662. ; 1280_8
  663. Exec.1=Int,10h,4F02h,8107h
  664.  
  665. [SetMode_110h]
  666. ; 640_15
  667. Exec.1=Int,10h,4F02h,8110h
  668.  
  669. [SetMode_111h]
  670. ; 640_16
  671. Exec.1=Int,10h,4F02h,8111h
  672.  
  673. [SetMode_112h]
  674. ; 640_32
  675. Exec.1=Int,10h,4F02h,8112h
  676.  
  677. [SetMode_113h]
  678. ; 800_15
  679. Exec.1=Int,10h,4F02h,8113h
  680.  
  681. [SetMode_114h]
  682. ; 800_16
  683. Exec.1=Int,10h,4F02h,8114h
  684.  
  685. [SetMode_115h]
  686. ; 800_32
  687. Exec.1=Int,10h,4F02h,8115h
  688.  
  689. [SetMode_116h]
  690. ; 1024_15
  691. Exec.1=Int,10h,4F02h,8116h
  692.  
  693. [SetMode_117h]
  694. ; 1024_16
  695. Exec.1=Int,10h,4F02h,8117h
  696.  
  697. [SetMode_12Dh]
  698. ; 1152_8
  699. Exec.1=Int,10h,4F02h,812Dh
  700.  
  701. [SetMode_120h]
  702. ; 1600_8
  703. Exec.1=Int,10h,4F02h,8120h
  704.  
  705. [SetMode_202h]
  706. ; 800_4
  707. Exec.1=Int,10h,4F02h,8202h
  708.  
  709. [SetMode_204h]
  710. ; 1024_4
  711. Exec.1=Int,10h,4F02h,8204h
  712.  
  713. [SetMode_205h]
  714. ; 1024_8
  715. Exec.1=Int,10h,4F02h,8205h
  716.  
  717. [SetMode_208h]
  718. ; 1280_4
  719. Exec.1=Int,10h,4F02h,8208h
  720.  
  721. [PerformFixups]
  722. ; Enable enh mode, linear addr, and mmio.
  723. ; Disable 4 bpp enh mode.
  724. Exec.1=Call,ModeOtherBpp
  725. Exec.2=Call,Is764ZPart
  726. Exec.3=Call,EnableEnhanced
  727.  
  728. [PerformFixups4]
  729. ; Enable 4 bpp enh mode and enh mode.
  730. ; Disable linear addr and mmio.
  731. Exec.1=Call,Mode4Bpp
  732. Exec.2=Call,Is764ZPart
  733. Exec.3=Call,EnableEnhanced
  734.  
  735. [ModeOtherBpp]
  736. Exec.1=Code,B8h,01h,00h,50h
  737.  
  738. [Mode4Bpp]
  739. Exec.1=Code,B8h,05h,00h,50h
  740.  
  741. [Is764ZPart]
  742. Exec.1=Code,BAh,D4h,03h,B0h,30h,EEh,42h,ECh
  743. Exec.2=Code,24h,F0h,3Ch,E0h,75h,16h
  744. Exec.3=Code,BAh,D4h,03h,B0h,2Fh,EEh,42h,ECh
  745. Exec.4=Code,3Ch,02h,74h,0Ah
  746. Exec.5=Code,3Ch,10h,74h,06h
  747. Exec.6=Code,B8h,01h,00h,50h,EBh,04h
  748. Exec.7=Code,B8h,00h,00h,50h
  749.  
  750. [EnableEnhanced]
  751. Exec.1=Code,58h,5Bh
  752. Exec.2=Code,0Bh,C0h,75h,0Ch
  753. Exec.3=Code,BAh,E8h,4Ah,EDh,25h,FAh,00h,0Bh,C3h,EFh,EBh,0Dh
  754. Exec.4=Code,BAh,D4h,03h,B0h,66h,EEh,42h,ECh,24h,FAh,0Ah,C3h,EEh
  755.  
  756. [Set4Bpp]
  757. ; Change drawing engine from 8bpp mode to 4bpp mode
  758. ; The 4 bit modes must have a pitch of 1024
  759. ;
  760. ; Unlock S3 registers
  761. Exec.1=Call,UnlockS3
  762. ;
  763. ; Enable Extended S3 registers
  764. Exec.2=Call,EnableExtRegs
  765. ;
  766. ; Set CR 3A (Misc. reg. 1) to 4 bpp enhanced mode rather than
  767. ; 256 color enh. mode
  768. Exec.3=RMW8I,3D4h,3Ah,00h,10h
  769. ;
  770. ; Set CR 31h to two page screen mode
  771. ; forces pitch to 1024 bytes (required to make 4 bit modes work)
  772. Exec.4=RMW8I,3D4h,31h,02h,02h
  773. ;
  774. ; Reset Attribute index/data flip-flop
  775. Exec.5=Call,ResetAttrToggle
  776. ;
  777. ; Select Attribute register 10h, and disable 256 color mode
  778. ;
  779. ;       push  dx
  780. ;       push  ax
  781. ;       mov   dx, 3c0h                
  782. ;       mov   al, 10h
  783. ;       out   dx, al          select attr. register 10, turn off palette
  784. ;       inc   dx
  785. ;       in    al, dx          read reg. 10
  786. ;       dec   dx
  787. ;       and   al, bfh         
  788. ;       out   dx, al          disable 256 color mode
  789. ;       pop   ax
  790. ;       pop   dx
  791. Exec.6=Code,52h,50h,BAh,C0h,03h,B0h,10h,EEh,42h,ECh,4Ah,24h,BFh,EEh,58h,5Ah
  792. ;
  793. ; Reset Attribute index/data flip-flop
  794. Exec.7=Call,ResetAttrToggle
  795. ;
  796. ; Re-enable the palette
  797. Exec.8=Out8,3C0h,20h
  798. ;
  799. ; Set video shift registers into 4 bit graphics mode
  800. Exec.9=RMW8I,3CEh,05h,00h,60h
  801. ;
  802. ; Enable nybble swap mode
  803. Exec.10=RMW8I,3D4h,53h,40h,40h
  804.  
  805. [EnableExtRegs]
  806. ; Enable S3 enhanced mode registers (4ae8h, etc.)
  807. ; (Set bit 1 in CR 40)
  808. Exec.1=RMW8I,3D4h,40h,01h,01h
  809.  
  810. [ResetAttrToggle]
  811. ; Reset attribute controller index/data flip-flop by reading 3dah
  812. ;
  813. ; push  dx
  814. ; push  ax
  815. ; mov   dx, 3da
  816. ; in    al, dx
  817. ; pop   ax
  818. ; pop   dx
  819. ;
  820. Exec.1=Code,52h,50h,BAh,DAh,03h,ECh,58h,5Ah
  821.  
  822. [UnlockS3]
  823. Exec.1=RMW8I,3D4h,38h,48h,48h
  824. Exec.2=RMW8I,3D4h,39h,A0h,A0h
  825.